body {
  background-color: rgb(60, 64, 198);
  /* background-image: url("./images/star.svg"); */
  margin: 0;
  padding: 0;
  font-family: consolas, serif;
  /* position: absolute; */
  /*  在我的笔记本上 这条得 删掉，奇怪 */
  /* overflow: hidden; */
  overflow-x: hidden;
}
body.hide {
  background: none;
  z-index: -3;
}
.container {
  width: 1024px;
  margin: 0 auto;
  /* background-color: wheat; */
  padding: 2rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
}
.container.hide {
  /* visibility: hidden; */
  display: none;
}
.panel {
  margin: 1.5rem 0.5rem;
  width: 307px;
  height: 200px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
.panel-sm {
  transform: scale(0.9);
  transition-property: transform;
  transition-duration: 0.1s;
  /* transition- */
}
.colors {
  display: flex;
  height: 151px;
  width: 285px;
  background-color: white;
  flex-wrap: wrap;
  overflow: hidden;
  border-radius: 0.3rem;
  /* align-items: flex-start; */
}
.color {
  width: 57px;
  height: 38px;
  padding: 0;
  margin: 0;
  border: none;
  /* background-color: green; */
}
.caption {
  height: 41px;
  width: 287px;
}
.underlying {
  height: 100vh;
  width: 100vw;
  background-color: orange;
  position: fixed;

  visibility: hidden;
}
.underlying.show {
  visibility: visible;
  z-index: 3;
}

.mask {
  height: 100vh;
  width: 2560px;
  left: 500px;
  background-color: white;
  position: fixed;
  top: 0;
  visibility: hidden;
  /* z-index: -13; */
}
.mask.show {
  visibility: visible;
  z-index: 33;
}

/* 第二个页面 */
.big-container {
  width: 100vw;
  height: 100%;
}
.big-colors {
  display: flex;
  width: 100vw;
  height: 100vh;
  flex-wrap: wrap;
  flex-direction: row;
}
.big-row {
  height: 25vh;
  /* border: 1px solid black; */
  width: 100vw;
  display: flex;
}
.big-color {
  width: 20vw;
  height: 25vh;
  cursor: pointer;
}

.big-color.sm {
  transition: all 0.5s;
}

.hover-show {
  color: rgb(60, 64, 198, 0);
  width: 100%;
  height: 100%;
  line-height: 25vh;
  text-align: center;
  font-family: consolas;
  font-size: 60px;
}
.hover-show.show {
  color: rgb(60, 64, 198, 1);
}

.back-to-future {
  font-family: consolas, serif;
  font-size: 2rem;
  font-weight: bolder;
  cursor: pointer;
  color: white;
}
.back-to-future:hover {
  color: black;
}
.flash-gone {
  visibility: hidden;
  height: 100vh;
  width: 100vw;
  padding-top: 30vh;
}
.flash-gone.show {
  visibility: visible;
  z-index: 666;
  position: fixed;
  background-color: red;
  left: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
}
.flash-gone-text {
  height: 35vh;
  opacity: 0.6;
  font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", sans-serif;
  color: white;
  text-align: center;
  font-size: 8rem;
  line-height: 35vh;
  text-shadow: 3px 3px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  -webkit-text-stroke: 2px black;
  text-stroke: 2px black;
  background-color: white;
}

/* 抄的 */

@keyframes moveFromRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  to {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}
@keyframes moveFromLeft {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  to {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}
.mr-white {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 100;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

.mr-white.animateRight {
  -webkit-animation: moveFromRight 0.8s ease-in-out both;
  animation: moveFromRight 0.8s ease-in-out both;
}

.mr-white.animateLeft {
  -webkit-animation: moveFromLeft 0.8s ease-in-out both;
  animation: moveFromLeft 0.8s ease-in-out both;
}
